import request from '@/utils/request'
// 注册
export const userRegisterService = ({ username, password, repassword }) =>
  request.post('/reg', { username, password, repassword })

// 登录
export const userLoginService = ({ username, password }) =>
  request.post('/login', { username, password })
